package com.taichuan.selfcheck.eventbus;

/**
 * 该类主要用于
 *
 * @author CamelLuo
 * @version 2019/12/5
 */
public class DoorCheckEvent {
    private boolean isOpenDoor = false;

    public DoorCheckEvent(boolean isOpenDoor) {
        this.isOpenDoor = isOpenDoor;
    }

    public boolean isOpenDoor() {
        return isOpenDoor;
    }

    @Override
    public String toString() {
        return "DoorCheckEvent{" +
                "isOpenDoor=" + isOpenDoor +
                '}';
    }
}
